package com.blue.dto.system;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serial;
import java.io.Serializable;

import lombok.Data;

/**
 * 数据同步配置表
 *
 * @author nanjie.chen
 * @email 15696271158@163.com
 * @date 2025-01-21
 */
@Data
@TableName("sys_data_sync_conf")
public class DataSyncConfDTO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @TableId
    @Schema(description = "ID")
    private String id;

    @Schema(description = "配置名称")
    private String confNm;

    @Schema(description = "表名")
    private String tableNm;

    @Schema(description = "同步字段")
    private String syncField;

    @Schema(description = "条件")
    private String whereCondition;

    @Schema(description = "唯一字段")
    private String onlyField;

    @Schema(description = "频率(0-每日,1-每周,2-每月)")
    private String frequency;

    @Schema(description = "状态(0-开启,1-关闭)")
    private String status;

    @Schema(description = "创建者ID")
    private String creatorId;

    @Schema(description = "创建时间")
    private String createTime;

    @Schema(description = "最近更新者ID")
    private String updaterId;

    @Schema(description = "最近更新时间")
    private String updateTime;


}
